#pragma once

const UINT_PTR kOptionItemButton = 1;
const UINT_PTR kOptionDescButton = 2;

class COptionItem : public CListContainerElementUI
{
public:
	COptionItem(CListUI* pListUI, CPaintManagerUI* PaintManager);
	~COptionItem();

	void InitControl(LPCTSTR lpRegistryKey, LPCTSTR lpItemText, BOOL bShowDesc = TRUE);
	BOOL GetOptionValueInRegistry(LPCTSTR lpOptionKey);
	
private:
	CListUI*			m_pListUI = nullptr;
	CDialogBuilder*		m_pBuilder = nullptr;
	CPaintManagerUI*	m_PaintManager = nullptr;
};

